package com.luoguijia.disk.recycle.entity;

import java.io.Serializable;
import java.util.Date;

public class SearchRecycleEntity implements Serializable {

    private String id;
    private String name;
    private String path;
    private Long size;
    private Date createTime;
    private String fileType; // 文件类型扩展名
    private Boolean isFolder;
    private String parentId;

    // getters and setters
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Boolean getIsFolder() {
        return isFolder;
    }

    public void setIsFolder(Boolean isFolder) {
        this.isFolder = isFolder;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "SearchFileEntity{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", path='" + path + '\'' +
                ", size=" + size +
                ", createTime=" + createTime +
                ", fileType='" + fileType + '\'' +
                ", isFolder=" + isFolder +
                ", parentId='" + parentId + '\'' +
                '}';
    }
}
